<template>
	<view>
		
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			}
		},
		onPullDownRefresh() {
			console.log("onPullDownRefresh 开始刷新");
			//网络请求
			setTimeout(()=>{
				console.log("onPullDownRefresh 数据刷新完了"); 
				uni.stopPullDownRefresh()
			},2000)
		}
		methods: {
			goRsd(){
				uni.startPullDownRefresh({
					success() {
						console.log("startPullDownRefresh succse");
					},
					fail() {
						console.log("startPullDownRefresh fail");
					},
					complete() {
						console.log("startPullDownRefresh complete");
					}
				})
			}
		}
	}
</script>

<style>

</style>
